package com.example.backadmindemo.mapper;

import com.example.backadmindemo.pojo.CustInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CustInfoMapper {

    /**
     * 通过sql进行分页查询
     * @param map
     * @return
     */
    List<CustInfo> selectCustomBySql(Map<String,Object> map);

    Integer getTotal();
}
